package org.example.dialogue.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zqtao
 */

@Data
public class MessageForm {

    @Schema(description = "消息发送者")
    private String role;

    @Schema(description = "消息内容")
    private String content;

    public MessageForm(String role, String content) {
        this.role = role;
        this.content = content;
    }
}
